import "./css/style.css";
import img1 from "./images/1.jpg";
import img2 from "./images/2.jpg";
import img3 from "./images/3.jpg";
import img4 from "./images/4.jpg";


let arr=[
    {
        "img":img1,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    {
        "img":img2,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    {
        "img":img3,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    {
        "img":img4,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    ,
    {
        "img":img1,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    ,
    {
        "img":img2,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    ,
    {
        "img":img3,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
    ,
    {
        "img":img4,
        "title":"意大利公羊，休闲皮鞋，男真皮",
        "price":328
    },
]
box.innerHTML=arr.map((item) => 
{
    return `<dl>
                <dt><img src="${item.img}"></dt>
                <dd>${item.title}</dd>
                <dd>￥${item.price}</dd>
            </dl>`
}).join("")


